Markdown implementation in PHP parses text within <a> tags — how does one disable this behavior?

Posted by Kyle on Stack Overflow See other posts from Stack Overflow or by Kyle
Published on 2010-05-05T01:39:50Z Indexed on 2010/05/05 1:48 UTC
Read the original article Hit count: 220

Filed under:
|
|
|
|

I'm using the Markdown library for PHP by Michel Fortin. I started noticing that it formats the text in tags with markdown rules, like so:

http://foo.com/My_Url_With_Underscores

essentially becomes:

<a href="...">http://foo.com/My<em>Url</em>With_Underscores</a>

How do I disable that behavior or otherwise prevent the library from doing that?

© Stack Overflow or respective owner

Related posts about php

Related posts about markdown